<% provide(:title, "查看个人信息") %>

<div class="user_info">
  <div class="avatar">
    <%= gravatar_for @user %>
  </div>

  <div class="name">
    <%= @user.name %>
  </div>

  <div class="clear">

  </div>
</div>

<div class="user_button">
  <%= button_to '修改', edit_user_path(user_id: @user.id),
                :method => :get, class: "btn btn-info" %>
</div>